package com.tobdev.qywxinner.intercepter;

public class TokenContext {
    private static final ThreadLocal<Integer> UID = new ThreadLocal<>();

    public static void setCurrentUid(Integer uid) {
        UID.set(uid);
    }

    public static Integer getCurrentUid() {
        return UID.get();
    }

    public static void clear() {
        UID.remove();
    }
}
